DOMStorageDomain

class DOMStorageDomain : Domain

Query and modify DOM storage.

This API is marked as experimental in protocol definition and can change in the future.

Functions

clear
Link copied to clipboard
fun clear(input: ClearRequest): Single<RequestResponseFrame>
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables storage tracking, prevents storage events from being sent to the client.
domStorageItemAdded
Link copied to clipboard
fun domStorageItemAdded(): Flowable<DomStorageItemAddedEvent>
Returns observable capturing all DOMStorage.domStorageItemAdded events.
domStorageItemRemoved
Link copied to clipboard
fun domStorageItemRemoved(): Flowable<DomStorageItemRemovedEvent>
Returns observable capturing all DOMStorage.domStorageItemRemoved events.
domStorageItemsCleared
Link copied to clipboard
fun domStorageItemsCleared(): Flowable<DomStorageItemsClearedEvent>
Returns observable capturing all DOMStorage.domStorageItemsCleared events.
domStorageItemUpdated
Link copied to clipboard
fun domStorageItemUpdated(): Flowable<DomStorageItemUpdatedEvent>
Returns observable capturing all DOMStorage.domStorageItemUpdated events.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables storage tracking, storage events will now be delivered to the client.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
getDOMStorageItems
Link copied to clipboard
fun getDOMStorageItems(input: GetDOMStorageItemsRequest): Single<GetDOMStorageItemsResponse>
name
Link copied to clipboard
fun name(): String
Returns domain name.
removeDOMStorageItem
Link copied to clipboard
fun removeDOMStorageItem(input: RemoveDOMStorageItemRequest): Single<RequestResponseFrame>
setDOMStorageItem
Link copied to clipboard
fun setDOMStorageItem(input: SetDOMStorageItemRequest): Single<RequestResponseFrame>

Sources

jvm source
Link copied to clipboard